package com.xx.springboot.designPattern.FactoryMode;/**
 * Created by xiaoxiunique on 2018-11-15.
 */

/**
 * <p>
 * TODO:
 * </p>
 *
 * @author hcg
 * @date 2018-11-15 15:55
 * @className ChicagoStyleCheesePizza
 */
public class ChicagoStyleCheesePizza extends Pizza {
    public ChicagoStyleCheesePizza() {
        name = "Chicago Style Deep Dish Cheese Pizza";
        dough = "Extra Thick Crust Dough";
        sauce = "Plum Tomato Sauce";

        toppings.add("Shredded Mozzarella Cheese");
    }

    @Override
    public void cut() {
        System.out.println("Cutting the pizza into square slices");
    }
}
